package com.onesports.intelligent.k12.polarlight.domain.dto.index;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @author FPH
 * @since 2022年7月19日11:28:54
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel("看板查询")
public class HomeDTO {

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @ApiModelProperty("选择日期 yyyy-MM-dd HH:mm")
    @NotNull(message = "时间不可为空 ")
    private Date date;
}
